package online.xuping.center.account;

import online.xuping.center.account.domain.AccountDomain;
import online.xuping.center.account.domain.AccountGroupDomain;
import online.xuping.center.account.domain.AccountTypeDomain;

import java.util.List;

public interface IAccountService {

    /**
     * 通过账户组创建账户信息。
     * @param accountGroupDomain
     */
    List<AccountDomain> newAccountByGroup(AccountGroupDomain accountGroupDomain,Long uid);
    List<AccountDomain> newAccountByGroup(String accountGroupName,Long uid);

    AccountDomain newAccount(AccountTypeDomain accountTypeDomain,Long uid);
}
